<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="LEXS SR 3.1.4" soapui-version="2.5.1" resourceRoot="" xmlns:con="http://eviware.com/soapui/config">
  <con:settings>
    <con:setting id="ProjectSettings@projectRoot">C:\Users\Chris\Documents\Visual Studio 2008\Projects\LEXS Reference Implementation\DOJ.LEISP.LEXS.Schemas</con:setting>
    <con:setting id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction@values-local"><![CDATA[<xml-fragment xmlns:con="http://eviware.com/soapui/config">
  <con:entry key="TestSuite" value="&lt;all>"/>
  <con:entry key="Domain" value=""/>
  <con:entry key="Password" value=""/>
  <con:entry key="Export JUnit Results" value="false"/>
  <con:entry key="Open Report" value="true"/>
  <con:entry key="TestRunner Path" value=""/>
  <con:entry key="Tool Args" value=""/>
  <con:entry key="Export All" value="false"/>
  <con:entry key="TestCase" value="&lt;all>"/>
  <con:entry key="Print Report" value="false"/>
  <con:entry key="Host:Port" value=""/>
  <con:entry key="Username" value=""/>
  <con:entry key="WSS Password Type" value=""/>
  <con:entry key="Root Folder" value=""/>
  <con:entry key="Endpoint" value="http://lexsws.ittl.gtri.org:8080/lexsws/services"/>
  <con:entry key="Enable UI" value="false"/>
  <con:entry key="Save Project" value="false"/>
  <con:entry key="Add Settings" value="false"/>
</xml-fragment>]]></con:setting>
  <con:setting id="WsdlSettings@cache-wsdls">false</con:setting></con:settings>
  <con:interface name="SRWebServiceSoapBinding" bindingName="{http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws}SRWebServiceSoapBinding" soapVersion="1_1" definition="http://lexsws.ittl.gtri.org:8080/lexsws/wsdl/lexsSRwebserviceImpl.wsdl" xsi:type="con:WsdlInterface" wsaVersion="NONE" anonymous="optional" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <con:settings/>
    <con:endpoints>
      <con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint>
    <con:endpoint>http://localhost:51029/lexsservice.svc</con:endpoint></con:endpoints>
    <con:operation isOneWay="false" action="http://usdoj.gov/leisp/lexs/publishdiscover/3.1/doStructuredSearch" name="doStructuredSearch" bindingOperationName="doStructuredSearch" inputName="" receivesAttachments="false" sendsAttachments="false" type="Request-Response" anonymous="optional">
      <con:settings/>
      <con:call name="Sample-3" outgoingWss="" incomingWss="">
        <con:settings/>
        <con:encoding>UTF-8</con:encoding>
        <con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint>
        <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>

<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tommy</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
        <con:credentials>
          <con:username xsi:nil="true"/>
          <con:password xsi:nil="true"/>
          <con:domain xsi:nil="true"/>
        </con:credentials>
      <con:wsaConfig mustUnderstand="NONE" version="200508"/></con:call>
      
      
      
    <con:call name="Date Range" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonBirthDate>
								<nc:Date>1974-01-01</nc:Date>
							</nc:PersonBirthDate>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>ge</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonBirthDate>
								<nc:Date>1980-01-01</nc:Date>
							</nc:PersonBirthDate>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>le</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Multi Query Same Field" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>All</lexs:RequestedData>
			<!--<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:RequestedData>Location</lexs:RequestedData>-->
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Jennifer</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Janice</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Jane</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Weight Range" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonWeightMeasure>
								<nc:MeasureRangeValue>
									<nc:RangeMinimumValue>180</nc:RangeMinimumValue>
								</nc:MeasureRangeValue>
							</nc:PersonWeightMeasure>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonWeightMeasure>
								<nc:MeasureRangeValue>
									<nc:RangeMaximumValue>200</nc:RangeMaximumValue>
								</nc:MeasureRangeValue>
							</nc:PersonWeightMeasure>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonWeightMeasure>
								<nc:WeightUnitCode>LBR</nc:WeightUnitCode>
							</nc:PersonWeightMeasure>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Multi Entity" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:RequestedData>Vehicle</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tom</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityVehicle>
						<nc:Vehicle>
							<nc:ItemMakeName>Chevrolet</nc:ItemMakeName>
						</nc:Vehicle>
					</lexsdigest:EntityVehicle>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>

   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Multi Entity with Single Return Type" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tom</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityVehicle>
						<nc:Vehicle>
							<nc:VehicleMakeCode>CHEV</nc:VehicleMakeCode>
						</nc:Vehicle>
					</lexsdigest:EntityVehicle>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Wildcard" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Jan*</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>wildcard</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Snippet" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:RequestedData>Snippet</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tommy</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Snippet Only" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Snippet</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tommy</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Fuzzy" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Doe</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>fuzzy</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Organization Two Fields" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Organization</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityOrganization>
						<nc:Organization>
							<nc:OrganizationCategoryText xsi:nil="true"/>
							<nc:OrganizationName>ABC Insurance</nc:OrganizationName>
						</nc:Organization>
					</lexsdigest:EntityOrganization>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityOrganization>
						<nc:Organization>
							<nc:OrganizationCategoryText>Insurance Company</nc:OrganizationCategoryText>
							<nc:OrganizationName xsi:nil="true"/>
						</nc:Organization>
					</lexsdigest:EntityOrganization>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Person to Ignore" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>John</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Joe</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Invalid Organization" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Organization</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityOrganization>
						<nc:Organization>
							<nc:OrganizationCategoryText xsi:nil="true"/>
							<nc:OrganizationName>ABC Insurance</nc:OrganizationName>
						</nc:Organization>
					</lexsdigest:EntityOrganization>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityOrganization>
						<nc:Organization>
							<!--<nc:OrganizationCategoryText>Insurance Company</nc:OrganizationCategoryText>-->
							<nc:OrganizationCategoryText xsi:nil="true"/>
							<nc:OrganizationName xsi:nil="true"/>
						</nc:Organization>
					</lexsdigest:EntityOrganization>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Activity" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Activity</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityActivity>
						<nc:Activity>
							<nc:ActivityCategoryText>Car Chase</nc:ActivityCategoryText>
						</nc:Activity>
					</lexsdigest:EntityActivity>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityActivity>
						<nc:Activity>
							<nc:ActivityDate>
								<nc:Date>1967-08-13</nc:Date>
							</nc:ActivityDate>
						</nc:Activity>
					</lexsdigest:EntityActivity>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>gt</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Aircraft" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Aircraft</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityAircraft>
						<nc:Aircraft>
							<nc:ItemMakeName>Boeing</nc:ItemMakeName>
						</nc:Aircraft>
					</lexsdigest:EntityAircraft>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityAircraft>
						<nc:Aircraft>
							<nc:ItemModelName>747</nc:ItemModelName>
						</nc:Aircraft>
					</lexsdigest:EntityAircraft>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Drug" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Drug</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDrug>
						<nc:Drug>
							<nc:ItemValue>
								<nc:ItemValueAmount>10000</nc:ItemValueAmount>
							</nc:ItemValue>
						</nc:Drug>
					</lexsdigest:EntityDrug>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDrug>
						<nc:Drug>
							<nc:SubstanceCategoryText>Depresant</nc:SubstanceCategoryText>
						</nc:Drug>
					</lexsdigest:EntityDrug>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDrug>
						<nc:Drug>
							<nc:SubstanceCompositionDescriptionText>Alcohol</nc:SubstanceCompositionDescriptionText>
						</nc:Drug>
					</lexsdigest:EntityDrug>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDrug>
						<nc:Drug>
							<nc:SubstanceFormText>Liquid</nc:SubstanceFormText>
						</nc:Drug>
					</lexsdigest:EntityDrug>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Email" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Email</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityEmail>
						<nc:ContactEmailID>bob@gatech.edu</nc:ContactEmailID>
					</lexsdigest:EntityEmail>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Explosive" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Explosive</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityExplosive>
						<nc:Explosive>
							<nc:ItemDescriptionText>Pipe Bomb</nc:ItemDescriptionText>
						</nc:Explosive>
					</lexsdigest:EntityExplosive>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityExplosive>
						<nc:Explosive>
							<nc:ItemValue>
								<nc:ItemValueAmount>200</nc:ItemValueAmount>
							</nc:ItemValue>
						</nc:Explosive>
					</lexsdigest:EntityExplosive>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityExplosive>
						<nc:Explosive>
							<nc:ItemHeightMeasure>
								<nc:MeasurePointValue>5</nc:MeasurePointValue>
							</nc:ItemHeightMeasure>
						</nc:Explosive>
					</lexsdigest:EntityExplosive>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityExplosive>
						<nc:Explosive>
							<nc:ItemLengthMeasure>
								<nc:MeasurePointValue>3</nc:MeasurePointValue>
							</nc:ItemLengthMeasure>
						</nc:Explosive>
					</lexsdigest:EntityExplosive>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
<!--=======================  6th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityExplosive>
						<nc:Explosive>
							<nc:ItemWidthMeasure>
								<nc:MeasurePointValue>2</nc:MeasurePointValue>
							</nc:ItemWidthMeasure>
						</nc:Explosive>
					</lexsdigest:EntityExplosive>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>			
			
			<!--=======================  5th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityExplosive>
						<nc:Explosive>
							<nc:ItemWeightMeasure>
								<nc:MeasurePointValue>2</nc:MeasurePointValue>
							</nc:ItemWeightMeasure>
						</nc:Explosive>
					</lexsdigest:EntityExplosive>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Firearm" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Firearm</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityFirearm>
						<nc:Firearm>
							<nc:ItemDescriptionText>Hand Gun</nc:ItemDescriptionText>
						</nc:Firearm>
					</lexsdigest:EntityFirearm>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityFirearm>
						<nc:Firearm>
							<nc:ItemSerialIdentification>
								<nc:IdentificationID>abc123</nc:IdentificationID>
							</nc:ItemSerialIdentification>
						</nc:Firearm>
					</lexsdigest:EntityFirearm>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityFirearm>
						<nc:Firearm>
							<nc:ItemValue>
								<nc:ItemValueAmount>500</nc:ItemValueAmount>
							</nc:ItemValue>
						</nc:Firearm>
					</lexsdigest:EntityFirearm>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="IntangibleItem" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>IntangibleItem</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityIntangibleItem>
						<nc:IntangibleItem>
							<nc:ItemDescriptionText>Intellectual Property</nc:ItemDescriptionText>
						</nc:IntangibleItem>
					</lexsdigest:EntityIntangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityIntangibleItem>
						<nc:IntangibleItem>
							<nc:ItemSerialIdentification>
								<nc:IdentificationID>abc1234</nc:IdentificationID>
							</nc:ItemSerialIdentification>
						</nc:IntangibleItem>
					</lexsdigest:EntityIntangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityIntangibleItem>
						<nc:IntangibleItem>
							<nc:ItemValue>
								<nc:ItemValueAmount>500000000</nc:ItemValueAmount>
							</nc:ItemValue>
						</nc:IntangibleItem>
					</lexsdigest:EntityIntangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Location" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Location</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityLocation>
						<nc:Location>
							<nc:LocationAddress>
								<nc:StructuredAddress>
									<nc:LocationStreet>
										<nc:StreetFullText>123 Fake St</nc:StreetFullText>
									</nc:LocationStreet>
								</nc:StructuredAddress>
							</nc:LocationAddress>
						</nc:Location>
					</lexsdigest:EntityLocation>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityLocation>
						<nc:Location>
							<nc:LocationAddress>
								<nc:StructuredAddress>
									<nc:LocationCityName>Atlanta</nc:LocationCityName>
								</nc:StructuredAddress>
							</nc:LocationAddress>
						</nc:Location>
					</lexsdigest:EntityLocation>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityLocation>
						<nc:Location>
							<nc:LocationAddress>
								<nc:StructuredAddress>
									<nc:LocationStateName>Georgia</nc:LocationStateName>
								</nc:StructuredAddress>
							</nc:LocationAddress>
						</nc:Location>
					</lexsdigest:EntityLocation>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityLocation>
						<nc:Location>
							<nc:LocationAddress>
								<nc:StructuredAddress>
									<nc:LocationCountryName>United States</nc:LocationCountryName>
								</nc:StructuredAddress>
							</nc:LocationAddress>
						</nc:Location>
					</lexsdigest:EntityLocation>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  5th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityLocation>
						<nc:Location>
							<nc:LocationAddress>
								<nc:StructuredAddress>
									<nc:LocationPostalCode>30332</nc:LocationPostalCode>
								</nc:StructuredAddress>
							</nc:LocationAddress>
						</nc:Location>
					</lexsdigest:EntityLocation>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Substance" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Substance</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntitySubstance>
						<nc:Substance>
							<nc:ItemDescriptionText>Jelly</nc:ItemDescriptionText>
						</nc:Substance>
					</lexsdigest:EntitySubstance>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntitySubstance>
						<nc:Substance>
							<nc:ItemSerialIdentification>
								<nc:IdentificationID>123abc</nc:IdentificationID>
							</nc:ItemSerialIdentification>
						</nc:Substance>
					</lexsdigest:EntitySubstance>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntitySubstance>
						<nc:Substance>
							<nc:ItemValue>
								<nc:ItemValueAmount>2</nc:ItemValueAmount>
							</nc:ItemValue>
						</nc:Substance>
					</lexsdigest:EntitySubstance>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntitySubstance>
						<nc:Substance>
							<nc:ItemCategoryText>Breakfast food</nc:ItemCategoryText>
						</nc:Substance>
					</lexsdigest:EntitySubstance>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  5th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntitySubstance>
						<nc:Substance>
							<nc:SubstanceContainerDescriptionText>Smuckers Jar</nc:SubstanceContainerDescriptionText>
						</nc:Substance>
					</lexsdigest:EntitySubstance>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  6th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntitySubstance>
						<nc:Substance>
							<nc:SubstanceCompositionDescriptionText>Strawberry Jelly</nc:SubstanceCompositionDescriptionText>
						</nc:Substance>
					</lexsdigest:EntitySubstance>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="TangibleItem" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>TangibleItem</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTangibleItem>
						<nc:TangibleItem>
							<nc:ItemDescriptionText>Key to door</nc:ItemDescriptionText>
						</nc:TangibleItem>
					</lexsdigest:EntityTangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTangibleItem>
						<nc:TangibleItem>
							<nc:ItemSerialIdentification>
								<nc:IdentificationID>1k2e3y</nc:IdentificationID>
							</nc:ItemSerialIdentification>
						</nc:TangibleItem>
					</lexsdigest:EntityTangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTangibleItem>
						<nc:TangibleItem>
							<nc:ItemValue>
								<nc:ItemValueAmount>1</nc:ItemValueAmount>
							</nc:ItemValue>
						</nc:TangibleItem>
					</lexsdigest:EntityTangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTangibleItem>
						<nc:TangibleItem>
							<nc:ItemCategoryText>Office door key</nc:ItemCategoryText>
						</nc:TangibleItem>
					</lexsdigest:EntityTangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  5th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTangibleItem>
						<nc:TangibleItem>
							<nc:ItemMakeName>Kwikset</nc:ItemMakeName>
						</nc:TangibleItem>
					</lexsdigest:EntityTangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  6th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTangibleItem>
						<nc:TangibleItem>
							<nc:ItemModelName>Generic Key</nc:ItemModelName>
						</nc:TangibleItem>
					</lexsdigest:EntityTangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>			
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="TelephoneNumber" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>TelephoneNumber</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTelephoneNumber>
						<lexsdigest:TelephoneNumber>
							<nc:FullTelephoneNumber>
								<nc:TelephoneNumberFullID>1112223333</nc:TelephoneNumberFullID>
							</nc:FullTelephoneNumber>
						</lexsdigest:TelephoneNumber>
					</lexsdigest:EntityTelephoneNumber>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTelephoneNumber>
						<lexsdigest:TelephoneNumber>
							<nc:FullTelephoneNumber>
								<nc:TelephoneSuffixID>44</nc:TelephoneSuffixID>
							</nc:FullTelephoneNumber>
						</lexsdigest:TelephoneNumber>
					</lexsdigest:EntityTelephoneNumber>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Vessel" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Vessel</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
			<lexs:DigestQueryField>
				<lexsdigest:EntityVessel>
					<nc:Vessel>
						<nc:ItemDescriptionText>small boat</nc:ItemDescriptionText>
					</nc:Vessel>
				</lexsdigest:EntityVessel>
			</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call><con:call name="Metadta" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>19</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Metadata>
							<nc:ReportedDate>
								<nc:Date>2008-01-22</nc:Date>
							</nc:ReportedDate>
						</lexsdigest:Metadata>
						<lexsdigest:Person xsi:nil="true"/>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>le</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Metadata>
							<nc:ReportedDate>
								<nc:Date>2003-01-22</nc:Date>
							</nc:ReportedDate>
						</lexsdigest:Metadata>
						<lexsdigest:Person xsi:nil="true"/>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>ge</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:call></con:operation>
    <con:operation isOneWay="false" action="http://usdoj.gov/leisp/lexs/publishdiscover/3.1/doTextSearch" name="doTextSearch" bindingOperationName="doTextSearch" inputName="" receivesAttachments="false" sendsAttachments="false" type="Request-Response" anonymous="optional">
      <con:settings/>
      <con:call name="Sample-1" outgoingWss="" incomingWss="">
        <con:settings/>
        <con:encoding>UTF-8</con:encoding>
        <con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint>
        <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:doTextSearchRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:TextSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>1</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Snippet</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Relevance</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:TextQuery>Tommy AND Jones</lexs:TextQuery>
	</lexs:TextSearchRequestMessage>
</lexssr:doTextSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
        <con:credentials>
          <con:username xsi:nil="true"/>
          <con:password xsi:nil="true"/>
          <con:domain xsi:nil="true"/>
        </con:credentials>
      </con:call>
    </con:operation>
    <con:operation isOneWay="false" action="http://usdoj.gov/leisp/lexs/publishdiscover/3.1/getAttachment" name="getAttachment" bindingOperationName="getAttachment" inputName="" receivesAttachments="false" sendsAttachments="false" type="Request-Response" anonymous="optional">
      <con:settings/>
      <con:call name="Sample-7" outgoingWss="" incomingWss="">
        <con:settings/>
        <con:encoding>UTF-8</con:encoding>
        <con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint>
        <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getAttachmentRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:AttachmentRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>7</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/TommyJonesMugshot1.jpg</lexs:AttachmentURI>
	</lexs:AttachmentRequestMessage>
</lexssr:getAttachmentRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
        <con:credentials>
          <con:username xsi:nil="true"/>
          <con:password xsi:nil="true"/>
          <con:domain xsi:nil="true"/>
        </con:credentials>
      <con:wsaConfig mustUnderstand="NONE" version="200508"/></con:call>
    <con:call name="Multi Attachment" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:getAttachmentRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:AttachmentRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>7</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/mugshot1.jpg</lexs:AttachmentURI>
		<lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/XMLViewer.xsl</lexs:AttachmentURI>
		<lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/helpl.gif</lexs:AttachmentURI>
		<lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/warnl.gif</lexs:AttachmentURI>
	</lexs:AttachmentRequestMessage>
</lexssr:getAttachmentRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/getAttachmentRequest"/></con:call></con:operation>
    <con:operation isOneWay="false" action="http://usdoj.gov/leisp/lexs/publishdiscover/3.1/getAvailability" name="getAvailability" bindingOperationName="getAvailability" inputName="" receivesAttachments="false" sendsAttachments="false" type="Request-Response" anonymous="optional">
      <con:settings/>
      <con:call name="Sample-9" outgoingWss="" incomingWss="">
        <con:settings/>
        <con:encoding>UTF-8</con:encoding>
        <con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint>
        <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getAvailabilityRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:ServiceProviderRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>9</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
	</lexs:ServiceProviderRequestMessage>
</lexssr:getAvailabilityRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
        <con:credentials>
          <con:username xsi:nil="true"/>
          <con:password xsi:nil="true"/>
          <con:domain xsi:nil="true"/>
        </con:credentials>
      </con:call>
    </con:operation>
    <con:operation isOneWay="false" action="http://usdoj.gov/leisp/lexs/publishdiscover/3.1/getCapabilities" name="getCapabilities" bindingOperationName="getCapabilities" inputName="" receivesAttachments="false" sendsAttachments="false" type="Request-Response" anonymous="optional">
      <con:settings/>
      <con:call name="Sample-11" outgoingWss="" incomingWss="">
        <con:settings/>
        <con:encoding>UTF-8</con:encoding>
        <con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint>
        <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getCapabilitiesRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:ServiceProviderRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>11</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
	</lexs:ServiceProviderRequestMessage>
</lexssr:getCapabilitiesRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
        <con:credentials>
          <con:username xsi:nil="true"/>
          <con:password xsi:nil="true"/>
          <con:domain xsi:nil="true"/>
        </con:credentials>
      </con:call>
    </con:operation>
    <con:operation isOneWay="false" action="http://usdoj.gov/leisp/lexs/publishdiscover/3.1/getDataItem" name="getDataItem" bindingOperationName="getDataItem" inputName="" receivesAttachments="false" sendsAttachments="false" type="Request-Response" anonymous="optional">
      <con:settings/>
      <con:call name="Sample-5" outgoingWss="" incomingWss="">
        <con:settings/>
        <con:encoding>UTF-8</con:encoding>
        <con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint>
        <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getDataItemRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1"  xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:DataItemRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>5</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:DataItemID>12345679</lexs:DataItemID>
		<lexs:StructuredPayloadsRequestedCode>all</lexs:StructuredPayloadsRequestedCode>
	</lexs:DataItemRequestMessage>
</lexssr:getDataItemRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
        <con:credentials>
          <con:username xsi:nil="true"/>
          <con:password xsi:nil="true"/>
          <con:domain xsi:nil="true"/>
        </con:credentials>
      <con:wsaConfig mustUnderstand="NONE" version="200508"/></con:call>
    </con:operation>
    <con:operation isOneWay="false" action="http://usdoj.gov/leisp/lexs/publishdiscover/3.1/getDataOwners" name="getDataOwners" bindingOperationName="getDataOwners" inputName="" receivesAttachments="false" sendsAttachments="false" type="Request-Response" anonymous="optional">
      <con:settings/>
      <con:call name="Sample-13" outgoingWss="" incomingWss="">
        <con:settings/>
        <con:encoding>UTF-8</con:encoding>
        <con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint>
        <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getDataOwnersRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:ServiceProviderRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>1</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
	</lexs:ServiceProviderRequestMessage>
</lexssr:getDataOwnersRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
        <con:credentials>
          <con:username xsi:nil="true"/>
          <con:password xsi:nil="true"/>
          <con:domain xsi:nil="true"/>
        </con:credentials>
      </con:call>
    </con:operation>
  <con:operation isOneWay="false" action="http://usdoj.gov/leisp/lexs/publishdiscover/3.1/getDomain" name="getDomain" bindingOperationName="getDomain" type="Request-Response" inputName="" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="getDomain" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:getDomainRequest 
    xmlns:nc="http://niem.gov/niem/niem-core/2.0" 
    xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" 
    xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
    <lexs:DomainRequestMessage>
        <lexs:SRMessageMetadata>
            <lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
            <lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
            <lexs:MessageSequenceNumber>21</lexs:MessageSequenceNumber>
            <!--====================== Message Origin ==========================-->
            <lexs:MessageOriginMetadata>
                <lexs:SystemIdentifier>
                    <!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
                    <nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
                    <lexs:SystemID>SysF</lexs:SystemID>				
                </lexs:SystemIdentifier>
                <lexs:SystemContact>
                    <nc:PersonGivenName>Bob</nc:PersonGivenName>
                    <nc:PersonSurName>Jones</nc:PersonSurName>
                    <nc:ContactTelephoneNumber>
                        <nc:FullTelephoneNumber>
                            <nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
                        </nc:FullTelephoneNumber>
                    </nc:ContactTelephoneNumber>
                </lexs:SystemContact>
            </lexs:MessageOriginMetadata>
            <!--====================== Message Destination ==========================-->
            <lexs:MessageDestinationIdentifier>
                <!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
                <nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
                <lexs:SystemID>SysE</lexs:SystemID>
            </lexs:MessageDestinationIdentifier>
        </lexs:SRMessageMetadata>
        <lexs:DomainAttribute>
            <lexs:Domain>NON-COMPLIANT</lexs:Domain>
            <my:CitationQuery
                xmlns:my="http://myns.com/document" 
                xmlns:j="http://www.it.ojp.gov/jxdm/3.0">
                <![CDATA[
                {
                    declare namespace my="http://myns.com/query";
                    declare namespace j="http://www.it.ojp.gov/jxdm/3.0";           
                    for $c in doc("http://myns.com/searchengine")/my:CitationDocument
                    where $c/j:Citation/j:CitationSubject/j:PersonName/j:PersonFullName = "Bob Smith" 
                    return $c;
                }
                ]]]]>><![CDATA[
                </my:CitationQuery>
            </lexs:DomainAttribute>
        </lexs:DomainRequestMessage>
    </lexssr:getDomainRequest>

   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/getDomainRequest"/></con:call></con:operation></con:interface>
  <con:testSuite name="LEXS SR WebService TestSuite">
    <con:settings/>
    <con:runType>SEQUENTIAL</con:runType>
    <con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="doTextSearch TestCase" searchProperties="true" id="cb4862ab-2c7a-494c-8d88-074fd8e26344" maxResults="0">
      <con:settings/>
      <con:testStep type="request" name="doTextSearch">
        <con:settings/>
        <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <con:interface>SRWebServiceSoapBinding</con:interface>
          <con:operation>doTextSearch</con:operation>
          <con:request name="doTextSearch" outgoingWss="" incomingWss="">
            <con:settings/>
            <con:encoding>UTF-8</con:encoding>
            <con:endpoint>http://localhost:51029/lexsservice.svc</con:endpoint>
            <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:doTextSearchRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:TextSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>1</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Snippet</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Relevance</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:TextQuery>Tommy AND Jones</lexs:TextQuery>
	</lexs:TextSearchRequestMessage>
</lexssr:doTextSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
            <con:assertion type="SOAP Response"/>
            <con:assertion type="SOAP Fault Assertion"/>
            <con:assertion type="Schema Compliance">
              <con:configuration>
                <definition/>
              </con:configuration>
            </con:assertion>
            <con:assertion type="XPath Match">
              <con:configuration>
                <path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
count(//lexs:SearchResponseMessage)</path>
                <content>1</content>
                <allowWildcards>false</allowWildcards>
              </con:configuration>
            </con:assertion>
            <con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")
assert srCount.toInteger() == 0

def error = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:ResponseMetadata/lexs:ResultCode")
assert error.equals("Error")

def advisoryCode = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:ResponseMetadata/lexs:Advisory/lexs:AdvisoryCategory")
assert advisoryCode.equals("UnstructuredSearchNotSupported")</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials>
              <con:username xsi:nil="true"/>
              <con:password xsi:nil="true"/>
              <con:domain xsi:nil="true"/>
            </con:credentials>
          <con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request>
        </con:config>
      </con:testStep>
      <con:properties/>
    </con:testCase>
    <con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="doStructuredSearch TestCase" searchProperties="true" id="36a6ca76-3ee4-421e-ab66-c0de76f2071d" maxResults="0">
      <con:settings/>
      <con:testStep type="request" name="doStructuredSearch - 3">
        <con:settings/>
        <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <con:interface>SRWebServiceSoapBinding</con:interface>
          <con:operation>doStructuredSearch</con:operation>
          <con:request name="doStructuredSearch - 3" outgoingWss="" incomingWss="">
            <con:settings/>
            <con:encoding>UTF-8</con:encoding>
            <con:endpoint>http://localhost:51029/lexsservice.svc</con:endpoint>
            <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>

<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tommy</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
            <con:assertion type="SOAP Response"/>
            <con:assertion type="SOAP Fault Assertion"/>
            <con:assertion type="Schema Compliance">
              <con:configuration><definition/></con:configuration>
            </con:assertion>
            <con:assertion type="XPath Match">
              <con:configuration>
                <path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
count(//lexs:SearchResponseMessage)</path>
                <content>1</content>
                <allowWildcards>false</allowWildcards>
              </con:configuration>
            </con:assertion>
            <con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials>
              <con:username xsi:nil="true"/>
              <con:password xsi:nil="true"/>
              <con:domain xsi:nil="true"/>
            </con:credentials>
          <con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request>
        </con:config>
      </con:testStep>
      
      
      
      <con:testStep type="request" name="doStructuredSearch - Date Range"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Date Range" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonBirthDate>
								<nc:Date>1974-01-01</nc:Date>
							</nc:PersonBirthDate>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>ge</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonBirthDate>
								<nc:Date>1980-01-01</nc:Date>
							</nc:PersonBirthDate>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>le</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration/></con:assertion><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")
for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the person we are searching for, each response must contain a person with a birth date between 1974 and 1980
	def foundPerson = false
	def personCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson/lexsdigest:Person)")
	for(int j=1; j&lt;=personCount.toInteger(); j++){
		def stringDate = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson[" + j + "]/lexsdigest:Person/nc:PersonBirthDate/nc:Date")
		def dateArray = stringDate.split("-")
		def year = dateArray[0].toInteger()
		if( (year >= 1974) &amp;&amp; (year &lt;= 1980) ){
			foundPerson = true
			break
		}
	}
	assert foundPerson
}</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Multi Query Same Field"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Multi Query Same Field" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>All</lexs:RequestedData>
			<!--<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:RequestedData>Location</lexs:RequestedData>-->
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Jennifer</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Janice</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Jane</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")
for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the person we are searching for, each response must contain a person with a first name of Jennifer, or Jane, or Janice, and the last name Jones
	def foundPerson = false
	def personCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson/lexsdigest:Person)")
	for(int j=1; j&lt;=personCount.toInteger(); j++){
		def givenName = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson[" + j + "]/lexsdigest:Person/nc:PersonName/nc:PersonGivenName")
		def surName =   responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson[" + j + "]/lexsdigest:Person/nc:PersonName/nc:PersonSurName")
	
		if( (givenName.equals("Jennifer") || givenName.equals("Jane") || givenName.equals("Janice")) &amp;&amp; (surName.equals("Jones")) ){
			foundPerson = true
			break
		}
	}
	assert foundPerson
}</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Weight Range"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Weight Range" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonWeightMeasure>
								<nc:MeasureRangeValue>
									<nc:RangeMinimumValue>180</nc:RangeMinimumValue>
								</nc:MeasureRangeValue>
							</nc:PersonWeightMeasure>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonWeightMeasure>
								<nc:MeasureRangeValue>
									<nc:RangeMaximumValue>200</nc:RangeMaximumValue>
								</nc:MeasureRangeValue>
							</nc:PersonWeightMeasure>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonWeightMeasure>
								<nc:WeightUnitCode>LBR</nc:WeightUnitCode>
							</nc:PersonWeightMeasure>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText><![CDATA[def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")
for( int i=1; i<=srCount.toInteger(); i++){
	//find the person we are searching for, each response must contain a person with a weight between 180 and 200 lbs
	def foundPerson = false
	def personCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson/lexsdigest:Person)")
	for(int j=1; j<=personCount.toInteger(); j++){
		def weightStr = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson[" + j + "]/lexsdigest:Person/nc:PersonWeightMeasure/nc:MeasurePointValue")
		def weight = weightStr.toInteger()
		def unitCode =   responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson[" + j + "]/lexsdigest:Person/nc:PersonWeightMeasure/nc:WeightUnitCode")
	
		if( (weight >=180) && (weight<=200) && (unitCode.equals("LBR")) ){
			foundPerson = true
			break
		}
	}
	assert foundPerson
}

def warning = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:ResponseMetadata/lexs:ResultCode")
assert warning.equals("Warning")

def advisoryCode = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:ResponseMetadata/lexs:Advisory/lexs:AdvisoryCategory")
assert advisoryCode.equals("QueryFieldNotSupported")]]></scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Multi Entity"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Multi Entity" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:RequestedData>Vehicle</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tom</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityVehicle>
						<nc:Vehicle>
							<nc:ItemMakeName>Chevrolet</nc:ItemMakeName>
						</nc:Vehicle>
					</lexsdigest:EntityVehicle>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>

   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundPerson = false
	def personCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson/lexsdigest:Person)")
	for(int j=1; j&lt;=personCount.toInteger(); j++){
		def givenName = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson[" + j + "]/lexsdigest:Person/nc:PersonName/nc:PersonGivenName")
		def surName =   responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson[" + j + "]/lexsdigest:Person/nc:PersonName/nc:PersonSurName")
	
		if( givenName.equals("Tom") &amp;&amp; surName.equals("Jones") ){
			foundPerson = true
		}
	}
	assert foundPerson

	//find the vehicle we are looking for, each response must contain a vehicle with the ItemMakeValue of Chevrolet
	def foundVehicle = false;
	def vehicleCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityVehicle/nc:Vehicle)")
	for(int k=1; k&lt;=vehicleCount; k++){
		def itemMake = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityVehicle[" + k + "]/nc:Vehicle/nc:ItemMakeName")
		if( itemMake.equals("Chevrolet") ){
			foundVehicle = true
		}		
	}
	assert foundVehicle
}

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Multi Entity with Single Return Type"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Multi Entity with Single Return Type" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tom</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityVehicle>
						<nc:Vehicle>
							<nc:VehicleMakeCode>CHEV</nc:VehicleMakeCode>
						</nc:Vehicle>
					</lexsdigest:EntityVehicle>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundPerson = false
	def personCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson/lexsdigest:Person)")
	for(int j=1; j&lt;=personCount.toInteger(); j++){
		def givenName = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson[" + j + "]/lexsdigest:Person/nc:PersonName/nc:PersonGivenName")
		def surName =   responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson[" + j + "]/lexsdigest:Person/nc:PersonName/nc:PersonSurName")
	
		if( givenName.equals("Tom") &amp;&amp; surName.equals("Jones") ){
			foundPerson = true
			break
		}
	}
	assert foundPerson
}

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Wildcard"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Wildcard" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Jan*</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>wildcard</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundPerson = false
	def personCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson/lexsdigest:Person)")
	for(int j=1; j&lt;=personCount.toInteger(); j++){
		def givenName = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson[" + j + "]/lexsdigest:Person/nc:PersonName/nc:PersonGivenName")
		
		if( givenName.contains("Jan")){
			foundPerson = true
			break
		}
	}
	assert foundPerson
}

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Snippet"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Snippet" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:RequestedData>Snippet</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tommy</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//make sure each Search Result Package has a snippet
	def foundPerson = false
	def snippetCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Snippet)")
	assert snippetCount > 0
}

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Snippet Only"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Snippet Only" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Snippet</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tommy</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//make sure each Search Result Package has a snippet
	def foundPerson = false
	def snippetCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Snippet)")
	assert snippetCount > 0

	//also make sure that the response does not contain a digest element
	//Since it does not request any additional elements to be returned there
	//is no need for a lexs:Digest element to be present
	def digestCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest)")
	assert digestCount.toInteger() == 0
}

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Fuzzy"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Fuzzy" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Doe</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>fuzzy</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")
assert srCount.toInteger() == 0

def warning = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:ResponseMetadata/lexs:ResultCode")
assert warning.equals("Warning")

def advisoryCode = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:ResponseMetadata/lexs:Advisory/lexs:AdvisoryCategory")
assert advisoryCode.equals("QueryOperatorNotSupported")</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Organization Two Fields"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Organization Two Fields" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Organization</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityOrganization>
						<nc:Organization>
							<nc:OrganizationCategoryText xsi:nil="true"/>
							<nc:OrganizationName>ABC Insurance</nc:OrganizationName>
						</nc:Organization>
					</lexsdigest:EntityOrganization>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityOrganization>
						<nc:Organization>
							<nc:OrganizationCategoryText>Insurance Company</nc:OrganizationCategoryText>
							<nc:OrganizationName xsi:nil="true"/>
						</nc:Organization>
					</lexsdigest:EntityOrganization>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundOrg = false
	def orgCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityOrganization/nc:Organization)")
	for(int j=1; j&lt;=orgCount.toInteger(); j++){
		def cat=   responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityOrganization[" + j + "]/nc:Organization/nc:OrganizationCategoryText")
		def name = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityOrganization[" + j + "]/nc:Organization/nc:OrganizationName")
	
		if( cat.equals("Insurance Company") &amp;&amp; name.equals("ABC Insurance") ){
			foundOrg = true
			break
		}
	}
	assert foundOrg
}</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Person to Ignore"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Person to Ignore" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>John</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Joe</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def resultCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")
assert resultCount.toInteger() == 0

def success = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:ResponseMetadata/lexs:ResultCode")
assert success.equals("Success")

def matchScore = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResponseMetadata/lexs:StructuredQueryMatchScore")
assert matchScore.toInteger() == 0

def numItemsMatched = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResponseMetadata/lexs:NumberItemMatches")
assert numItemsMatched.toInteger() == 0</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Invalid Organization"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Invalid Organization" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Organization</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityOrganization>
						<nc:Organization>
							<nc:OrganizationCategoryText xsi:nil="true"/>
							<nc:OrganizationName>ABC Insurance</nc:OrganizationName>
						</nc:Organization>
					</lexsdigest:EntityOrganization>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityOrganization>
						<nc:Organization>
							<!--<nc:OrganizationCategoryText>Insurance Company</nc:OrganizationCategoryText>-->
							<nc:OrganizationCategoryText xsi:nil="true"/>
							<nc:OrganizationName xsi:nil="true"/>
						</nc:Organization>
					</lexsdigest:EntityOrganization>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")
assert srCount.toInteger() == 0

def error = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:ResponseMetadata/lexs:ResultCode")
assert error.equals("Error")

def advisoryCode = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:ResponseMetadata/lexs:Advisory/lexs:AdvisoryCategory")
assert advisoryCode.equals("InvalidRequest")</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Activity"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Activity" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Activity</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityActivity>
						<nc:Activity>
							<nc:ActivityCategoryText>Car Chase</nc:ActivityCategoryText>
						</nc:Activity>
					</lexsdigest:EntityActivity>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityActivity>
						<nc:Activity>
							<nc:ActivityDate>
								<nc:Date>1967-08-13</nc:Date>
							</nc:ActivityDate>
						</nc:Activity>
					</lexsdigest:EntityActivity>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>gt</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundActivity = false
	def activityCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityActivity/nc:Activity)")
	for(int j=1; j&lt;=activityCount.toInteger(); j++){
		def categoryText = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityActivity[" + j + "]/nc:Activity/nc:ActivityCategoryText")
	
		if( categoryText.equals("Car Chase") ){
			foundActivity = true
		}
	}
	assert foundActivity
}

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Aircraft"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Aircraft" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Aircraft</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityAircraft>
						<nc:Aircraft>
							<nc:ItemMakeName>Boeing</nc:ItemMakeName>
						</nc:Aircraft>
					</lexsdigest:EntityAircraft>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityAircraft>
						<nc:Aircraft>
							<nc:ItemModelName>747</nc:ItemModelName>
						</nc:Aircraft>
					</lexsdigest:EntityAircraft>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundAircraft = false
	def activityCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityAircraft/nc:Aircraft)")
	for(int j=1; j&lt;=activityCount.toInteger(); j++){
		def makeName = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityAircraft[" + j + "]/nc:Aircraft/nc:ItemMakeName")
		def modelName = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityAircraft[" + j + "]/nc:Aircraft/nc:ItemModelName")
	
		if( makeName.equals("Boeing") &amp;&amp; modelName.equals("747") ){
			foundAircraft = true
		}
	}
	assert foundAircraft
}

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Drug"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Drug" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Drug</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDrug>
						<nc:Drug>
							<nc:ItemValue>
								<nc:ItemValueAmount>10000</nc:ItemValueAmount>
							</nc:ItemValue>
						</nc:Drug>
					</lexsdigest:EntityDrug>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDrug>
						<nc:Drug>
							<nc:SubstanceCategoryText>Depresant</nc:SubstanceCategoryText>
						</nc:Drug>
					</lexsdigest:EntityDrug>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDrug>
						<nc:Drug>
							<nc:SubstanceCompositionDescriptionText>Alcohol</nc:SubstanceCompositionDescriptionText>
						</nc:Drug>
					</lexsdigest:EntityDrug>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDrug>
						<nc:Drug>
							<nc:SubstanceFormText>Liquid</nc:SubstanceFormText>
						</nc:Drug>
					</lexsdigest:EntityDrug>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundDrug = false
	def drugCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityDrug/nc:Drug)")
	for(int j=1; j&lt;=drugCount.toInteger(); j++){
		def composition = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityDrug[" + j + "]/nc:Drug/nc:SubstanceCompositionDescriptionText")
		def form = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityDrug[" + j + "]/nc:Drug/nc:SubstanceFormText")	
		
		if( composition.equals("Alcohol") &amp;&amp; form.equals("Liquid") ){
			foundDrug = true
		}
	}
	assert foundDrug
}

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Email"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Email" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Email</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityEmail>
						<nc:ContactEmailID>bob@gatech.edu</nc:ContactEmailID>
					</lexsdigest:EntityEmail>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundEmail = false
	def emailCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityEmail)")
	for(int j=1; j&lt;=emailCount.toInteger(); j++){
		def emailAddr = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityEmail[" + j + "]/nc:ContactEmailID")
		
		if( emailAddr.equals("bob@gatech.edu") ){
			foundEmail = true
		}
	}
	assert foundEmail
}

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Explosive"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Explosive" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Explosive</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityExplosive>
						<nc:Explosive>
							<nc:ItemDescriptionText>Pipe Bomb</nc:ItemDescriptionText>
						</nc:Explosive>
					</lexsdigest:EntityExplosive>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityExplosive>
						<nc:Explosive>
							<nc:ItemValue>
								<nc:ItemValueAmount>200</nc:ItemValueAmount>
							</nc:ItemValue>
						</nc:Explosive>
					</lexsdigest:EntityExplosive>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityExplosive>
						<nc:Explosive>
							<nc:ItemHeightMeasure>
								<nc:MeasurePointValue>5</nc:MeasurePointValue>
							</nc:ItemHeightMeasure>
						</nc:Explosive>
					</lexsdigest:EntityExplosive>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityExplosive>
						<nc:Explosive>
							<nc:ItemLengthMeasure>
								<nc:MeasurePointValue>3</nc:MeasurePointValue>
							</nc:ItemLengthMeasure>
						</nc:Explosive>
					</lexsdigest:EntityExplosive>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
<!--=======================  6th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityExplosive>
						<nc:Explosive>
							<nc:ItemWidthMeasure>
								<nc:MeasurePointValue>2</nc:MeasurePointValue>
							</nc:ItemWidthMeasure>
						</nc:Explosive>
					</lexsdigest:EntityExplosive>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>			
			
			<!--=======================  5th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityExplosive>
						<nc:Explosive>
							<nc:ItemWeightMeasure>
								<nc:MeasurePointValue>2</nc:MeasurePointValue>
							</nc:ItemWeightMeasure>
						</nc:Explosive>
					</lexsdigest:EntityExplosive>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText><![CDATA[def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i<=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundExplosive = false
	def explosiveCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityExplosive/nc:Explosive)")
	for(int j=1; j<=explosiveCount.toInteger(); j++){
		def desc = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityExplosive[" + j + "]/nc:Explosive/nc:ItemDescriptionText")
		def value = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityExplosive[" + j + "]/nc:Explosive/nc:ItemValue/nc:ItemValueAmount")	
		def height = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityExplosive[" + j + "]/nc:Explosive/nc:ItemHeightMeasure/nc:MeasurePointValue")	
		def length = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityExplosive[" + j + "]/nc:Explosive/nc:ItemLengthMeasure/nc:MeasurePointValue")	
		def width = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityExplosive[" + j + "]/nc:Explosive/nc:ItemWidthMeasure/nc:MeasurePointValue")	
		def weight = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityExplosive[" + j + "]/nc:Explosive/nc:ItemWeightMeasure/nc:MeasurePointValue")	
		
		if( desc.equals("Pipe Bomb") && value.equals("200") && height.equals("5") && length.equals("3") && width.equals("2") && weight.equals("2")){
			foundExplosive = true
		}
	}
	assert foundExplosive
}

]]></scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Firearm"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Firearm" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Firearm</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityFirearm>
						<nc:Firearm>
							<nc:ItemDescriptionText>Hand Gun</nc:ItemDescriptionText>
						</nc:Firearm>
					</lexsdigest:EntityFirearm>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityFirearm>
						<nc:Firearm>
							<nc:ItemSerialIdentification>
								<nc:IdentificationID>abc123</nc:IdentificationID>
							</nc:ItemSerialIdentification>
						</nc:Firearm>
					</lexsdigest:EntityFirearm>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityFirearm>
						<nc:Firearm>
							<nc:ItemValue>
								<nc:ItemValueAmount>500</nc:ItemValueAmount>
							</nc:ItemValue>
						</nc:Firearm>
					</lexsdigest:EntityFirearm>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText><![CDATA[def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i<=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundFirearm = false
	def FirearmCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityFirearm/nc:Firearm)")
	for(int j=1; j<=FirearmCount.toInteger(); j++){
		def desc = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityFirearm[" + j + "]/nc:Firearm/nc:ItemDescriptionText")
		def id = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityFirearm[" + j + "]/nc:Firearm/nc:ItemSerialIdentification/nc:IdentificationID")
		def value = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityFirearm[" + j + "]/nc:Firearm/nc:ItemValue/nc:ItemValueAmount")
		
		if( desc.equals("Hand Gun") && id.equals("abc123") && value.equals("500") ){
			foundFirearm = true
		}
	}
	assert foundFirearm
}

]]></scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - IntangibleItem"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - IntangibleItem" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>IntangibleItem</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityIntangibleItem>
						<nc:IntangibleItem>
							<nc:ItemDescriptionText>Intellectual Property</nc:ItemDescriptionText>
						</nc:IntangibleItem>
					</lexsdigest:EntityIntangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityIntangibleItem>
						<nc:IntangibleItem>
							<nc:ItemSerialIdentification>
								<nc:IdentificationID>abc1234</nc:IdentificationID>
							</nc:ItemSerialIdentification>
						</nc:IntangibleItem>
					</lexsdigest:EntityIntangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityIntangibleItem>
						<nc:IntangibleItem>
							<nc:ItemValue>
								<nc:ItemValueAmount>500000000</nc:ItemValueAmount>
							</nc:ItemValue>
						</nc:IntangibleItem>
					</lexsdigest:EntityIntangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText><![CDATA[def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i<=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundIntangible = false
	def IntangibleCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityIntangibleItem/nc:IntangibleItem)")
	for(int j=1; j<=IntangibleCount.toInteger(); j++){
		def desc = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityIntangibleItem[" + j + "]/nc:IntangibleItem/nc:ItemDescriptionText")
		def id = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityIntangibleItem[" + j + "]/nc:IntangibleItem/nc:ItemSerialIdentification/nc:IdentificationID")
		def value = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityIntangibleItem[" + j + "]/nc:IntangibleItem/nc:ItemValue/nc:ItemValueAmount")
		
		if( desc.equals("Intellectual Property") && id.equals("abc1234") && value.equals("500000000") ){
			foundIntangible = true
		}
	}
	assert foundIntangible
}

]]></scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Location"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Location" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Location</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityLocation>
						<nc:Location>
							<nc:LocationAddress>
								<nc:StructuredAddress>
									<nc:LocationStreet>
										<nc:StreetFullText>123 Fake St</nc:StreetFullText>
									</nc:LocationStreet>
								</nc:StructuredAddress>
							</nc:LocationAddress>
						</nc:Location>
					</lexsdigest:EntityLocation>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityLocation>
						<nc:Location>
							<nc:LocationAddress>
								<nc:StructuredAddress>
									<nc:LocationCityName>Atlanta</nc:LocationCityName>
								</nc:StructuredAddress>
							</nc:LocationAddress>
						</nc:Location>
					</lexsdigest:EntityLocation>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityLocation>
						<nc:Location>
							<nc:LocationAddress>
								<nc:StructuredAddress>
									<nc:LocationStateName>Georgia</nc:LocationStateName>
								</nc:StructuredAddress>
							</nc:LocationAddress>
						</nc:Location>
					</lexsdigest:EntityLocation>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityLocation>
						<nc:Location>
							<nc:LocationAddress>
								<nc:StructuredAddress>
									<nc:LocationCountryName>United States</nc:LocationCountryName>
								</nc:StructuredAddress>
							</nc:LocationAddress>
						</nc:Location>
					</lexsdigest:EntityLocation>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  5th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityLocation>
						<nc:Location>
							<nc:LocationAddress>
								<nc:StructuredAddress>
									<nc:LocationPostalCode>30332</nc:LocationPostalCode>
								</nc:StructuredAddress>
							</nc:LocationAddress>
						</nc:Location>
					</lexsdigest:EntityLocation>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText><![CDATA[def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i<=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundLoc = false
	def locCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityLocation/nc:Location)")
	for(int j=1; j<=locCount.toInteger(); j++){
		def full = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityLocation[" + j + "]/nc:Location/nc:LocationAddress/nc:StructuredAddress/nc:LocationStreet/nc:StreetFullText")
		def city = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityLocation[" + j + "]/nc:Location/nc:LocationAddress/nc:StructuredAddress/nc:LocationCityName")
		def state = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityLocation[" + j + "]/nc:Location/nc:LocationAddress/nc:StructuredAddress/nc:LocationStateName")
		def country = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityLocation[" + j + "]/nc:Location/nc:LocationAddress/nc:StructuredAddress/nc:LocationCountryName")
		def zip = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityLocation[" + j + "]/nc:Location/nc:LocationAddress/nc:StructuredAddress/nc:LocationPostalCode")
		
		if( full.equals("123 Fake St") && city.equals("Atlanta") && state.equals("Georgia") && country.equals("United States") && zip.equals("30332") ){
			foundLoc = true
		}
	}
	assert foundLoc
}

]]></scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Substance"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Substance" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Substance</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntitySubstance>
						<nc:Substance>
							<nc:ItemDescriptionText>Jelly</nc:ItemDescriptionText>
						</nc:Substance>
					</lexsdigest:EntitySubstance>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntitySubstance>
						<nc:Substance>
							<nc:ItemSerialIdentification>
								<nc:IdentificationID>123abc</nc:IdentificationID>
							</nc:ItemSerialIdentification>
						</nc:Substance>
					</lexsdigest:EntitySubstance>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntitySubstance>
						<nc:Substance>
							<nc:ItemValue>
								<nc:ItemValueAmount>2</nc:ItemValueAmount>
							</nc:ItemValue>
						</nc:Substance>
					</lexsdigest:EntitySubstance>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntitySubstance>
						<nc:Substance>
							<nc:ItemCategoryText>Breakfast food</nc:ItemCategoryText>
						</nc:Substance>
					</lexsdigest:EntitySubstance>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  5th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntitySubstance>
						<nc:Substance>
							<nc:SubstanceContainerDescriptionText>Smuckers Jar</nc:SubstanceContainerDescriptionText>
						</nc:Substance>
					</lexsdigest:EntitySubstance>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  6th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntitySubstance>
						<nc:Substance>
							<nc:SubstanceCompositionDescriptionText>Strawberry Jelly</nc:SubstanceCompositionDescriptionText>
						</nc:Substance>
					</lexsdigest:EntitySubstance>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText><![CDATA[def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i<=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundSubstance = false
	def substanceCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntitySubstance/nc:Substance)")
	for(int j=1; j<=substanceCount.toInteger(); j++){
		def desc = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntitySubstance[" + j + "]/nc:Substance/nc:ItemDescriptionText")
		def id = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntitySubstance[" + j + "]/nc:Substance/nc:ItemSerialIdentification/nc:IdentificationID")
		def value = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntitySubstance[" + j + "]/nc:Substance/nc:ItemValue/nc:ItemValueAmount")
		def category = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntitySubstance[" + j + "]/nc:Substance/nc:ItemCategoryText")
		def container = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntitySubstance[" + j + "]/nc:Substance/nc:SubstanceContainerDescriptionText")
		def composition = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntitySubstance[" + j + "]/nc:Substance/nc:SubstanceCompositionDescriptionText")
		
		if( desc.equals("Jelly") && value.equals("2") && category.equals("Breakfast food") && container.equals("Smuckers Jar") && composition.equals("Strawberry Jelly") ){
			foundSubstance = true
		}
	}
	assert foundSubstance
}

]]></scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - TangibleItem"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - TangibleItem" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>TangibleItem</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTangibleItem>
						<nc:TangibleItem>
							<nc:ItemDescriptionText>Key to door</nc:ItemDescriptionText>
						</nc:TangibleItem>
					</lexsdigest:EntityTangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTangibleItem>
						<nc:TangibleItem>
							<nc:ItemSerialIdentification>
								<nc:IdentificationID>1k2e3y</nc:IdentificationID>
							</nc:ItemSerialIdentification>
						</nc:TangibleItem>
					</lexsdigest:EntityTangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTangibleItem>
						<nc:TangibleItem>
							<nc:ItemValue>
								<nc:ItemValueAmount>1</nc:ItemValueAmount>
							</nc:ItemValue>
						</nc:TangibleItem>
					</lexsdigest:EntityTangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTangibleItem>
						<nc:TangibleItem>
							<nc:ItemCategoryText>Office door key</nc:ItemCategoryText>
						</nc:TangibleItem>
					</lexsdigest:EntityTangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  5th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTangibleItem>
						<nc:TangibleItem>
							<nc:ItemMakeName>Kwikset</nc:ItemMakeName>
						</nc:TangibleItem>
					</lexsdigest:EntityTangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  6th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTangibleItem>
						<nc:TangibleItem>
							<nc:ItemModelName>Generic Key</nc:ItemModelName>
						</nc:TangibleItem>
					</lexsdigest:EntityTangibleItem>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>			
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText><![CDATA[def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i<=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundTangible = false
	def tangibleCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityTangibleItem/nc:TangibleItem)")
	for(int j=1; j<=tangibleCount.toInteger(); j++){
		def desc = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityTangibleItem[" + j + "]/nc:TangibleItem/nc:ItemDescriptionText")
		def id = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityTangibleItem[" + j + "]/nc:TangibleItem/nc:ItemSerialIdentification/nc:IdentificationID")
		def value = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityTangibleItem[" + j + "]/nc:TangibleItem/nc:ItemValue/nc:ItemValueAmount")
		def category = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityTangibleItem[" + j + "]/nc:TangibleItem/nc:ItemCategoryText")
		def makeName = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityTangibleItem[" + j + "]/nc:TangibleItem/nc:ItemMakeName")
		def modelName = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityTangibleItem[" + j + "]/nc:TangibleItem/nc:ItemModelName")
		
		if( desc.equals("Key to door") && id.equals("1k2e3y") && value.equals("1") && category.equals("Office door key") && makeName.equals("Kwikset") && modelName.equals("Generic Key") 
		){
			foundTangible = true
		}
	}
	assert foundTangible
}

]]></scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - TelephoneNumber"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - TelephoneNumber" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>TelephoneNumber</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTelephoneNumber>
						<lexsdigest:TelephoneNumber>
							<nc:FullTelephoneNumber>
								<nc:TelephoneNumberFullID>1112223333</nc:TelephoneNumberFullID>
							</nc:FullTelephoneNumber>
						</lexsdigest:TelephoneNumber>
					</lexsdigest:EntityTelephoneNumber>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityTelephoneNumber>
						<lexsdigest:TelephoneNumber>
							<nc:FullTelephoneNumber>
								<nc:TelephoneSuffixID>44</nc:TelephoneSuffixID>
							</nc:FullTelephoneNumber>
						</lexsdigest:TelephoneNumber>
					</lexsdigest:EntityTelephoneNumber>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundPhone = false
	def phoneCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityTelephoneNumber/lexsdigest:TelephoneNumber)")
	for(int j=1; j&lt;=phoneCount.toInteger(); j++){
		def number = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityTelephoneNumber[" + j + "]/lexsdigest:TelephoneNumber/nc:FullTelephoneNumber/nc:TelephoneNumberFullID")
		def suffix = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityTelephoneNumber[" + j + "]/lexsdigest:TelephoneNumber/nc:FullTelephoneNumber/nc:TelephoneSuffixID")
		
		if( number.equals("1112223333") &amp;&amp; suffix.equals("44") ){
			foundPhone = true
		}
	}
	assert foundPhone
}

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Vessel"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Vessel" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Vessel</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
			<lexs:DigestQueryField>
				<lexsdigest:EntityVessel>
					<nc:Vessel>
						<nc:ItemDescriptionText>small boat</nc:ItemDescriptionText>
					</nc:Vessel>
				</lexsdigest:EntityVessel>
			</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the person we are searching for each response must contain a person by the name Tom Jones
	def foundVessel = false
	def vesselCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityVessel/nc:Vessel)")
	for(int j=1; j&lt;=vesselCount.toInteger(); j++){
		def desc = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityVessel[" + j + "]/nc:Vessel/nc:ItemDescriptionText")
		
		if( desc.equals("small boat") ){
			foundVessel = true
		}
	}
	assert foundVessel
}

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Metadata"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Metadata" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>19</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Metadata>
							<nc:ReportedDate>
								<nc:Date>2008-01-22</nc:Date>
							</nc:ReportedDate>
						</lexsdigest:Metadata>
						<lexsdigest:Person xsi:nil="true"/>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>le</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Metadata>
							<nc:ReportedDate>
								<nc:Date>2003-01-22</nc:Date>
							</nc:ReportedDate>
						</lexsdigest:Metadata>
						<lexsdigest:Person xsi:nil="true"/>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>ge</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	def foundMeta = false
	def metaDate = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityPerson/lexsdigest:Metadata/nc:ReportedDate/nc:Date")

	def dateArray = metaDate.split("-")
	def year = dateArray[0].toInteger()
	if( (year >= 2003) &amp;&amp; (year &lt;= 2008) ){
		foundMeta = true
		break
	}
	
	assert foundMeta
}

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Invalid Match"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Invalid Match" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>

<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>lt</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tommy</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def error = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:ResponseMetadata/lexs:ResultCode")
assert error.equals("Warning")

def advisoryCode = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:ResponseMetadata/lexs:Advisory/lexs:AdvisoryCategory")
assert advisoryCode.equals("QueryOperatorNotSupported")</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch-CreditCard"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch-CreditCard" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>

<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>CreditCard</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityCreditCard>
						<lexsdigest:CreditCard>
							<lexsdigest:CreditCardCategoryText>Visa</lexsdigest:CreditCardCategoryText>
						</lexsdigest:CreditCard>
					</lexsdigest:EntityCreditCard>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityCreditCard>
						<lexsdigest:CreditCard>
							<lexsdigest:CreditCardExpirationDate>
								<nc:Date>2009-01-09</nc:Date>
							</lexsdigest:CreditCardExpirationDate>
						</lexsdigest:CreditCard>
					</lexsdigest:EntityCreditCard>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--======================= 3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityCreditCard>
						<lexsdigest:CreditCard>
							<lexsdigest:CreditCardIssuerOrganizationName>Bank of America</lexsdigest:CreditCardIssuerOrganizationName>
						</lexsdigest:CreditCard>
					</lexsdigest:EntityCreditCard>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityCreditCard>
						<lexsdigest:CreditCard>
							<lexsdigest:CreditCardNumber>1111222255559999</lexsdigest:CreditCardNumber>
						</lexsdigest:CreditCard>
					</lexsdigest:EntityCreditCard>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  5th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityCreditCard>
						<lexsdigest:CreditCard>
							<lexsdigest:CreditCardOwnerName>Bob G. Smith</lexsdigest:CreditCardOwnerName>
						</lexsdigest:CreditCard>
					</lexsdigest:EntityCreditCard>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText><![CDATA[def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i<=srCount.toInteger(); i++){
	//find the credit card we are searching for each response must contain a person by the name Tom Jones
	def foundCreditCard = false
	def creditCardCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityCreditCard/lexsdigest:CreditCard)")
	for(int j=1; j<=creditCardCount.toInteger(); j++){
		def category = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityCreditCard[" + j + "]/lexsdigest:CreditCard/lexsdigest:CreditCardCategoryText")
		def expDate = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityCreditCard[" + j + "]/lexsdigest:CreditCard/lexsdigest:CreditCardExpirationDate/nc:Date")
		def orgName = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityCreditCard[" + j + "]/lexsdigest:CreditCard/lexsdigest:CreditCardIssuerOrganizationName")
		def cardNum = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityCreditCard[" + j + "]/lexsdigest:CreditCard/lexsdigest:CreditCardNumber")
		def cardOwner = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityCreditCard[" + j + "]/lexsdigest:CreditCard/lexsdigest:CreditCardOwnerName")
		
		if( 
		category.equals("Visa") && expDate.equals("2009-01-09") && orgName.equals("Bank of America") && cardNum.equals("1111222255559999") && cardOwner.equals("Bob G. Smith") 
		){
			foundCreditCard = true
		}
	}
	assert foundCreditCard
}
]]></scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructedSearch-Hash"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructedSearch-Hash" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>

<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Hash</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityHash>
						<lexsdigest:Hash>
							<lexsdigest:HashValue>
								<lexsdigest:HashValueText>1234dkasdk43</lexsdigest:HashValueText>
							</lexsdigest:HashValue>
						</lexsdigest:Hash>
					</lexsdigest:EntityHash>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityHash>
						<lexsdigest:Hash>
							<lexsdigest:HashValue>
								<lexsdigest:HashValueMethodAlgorithmText>SHA</lexsdigest:HashValueMethodAlgorithmText>
							</lexsdigest:HashValue>
						</lexsdigest:Hash>
					</lexsdigest:EntityHash>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the credit card we are searching for each response must contain a person by the name Tom Jones
	def foundHash = false
	def hashCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityHash/lexsdigest:Hash)")
	for(int j=1; j&lt;=hashCount.toInteger(); j++){
		def algo =  responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityHash[" + j + "]/lexsdigest:Hash/lexsdigest:HashValue/lexsdigest:HashValueMethodAlgorithmText")
		def value = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityHash[" + j + "]/lexsdigest:Hash/lexsdigest:HashValue/lexsdigest:HashValueText")
		if( 
		value.equals("1234dkasdk43") &amp;&amp; algo.equals("SHA") 
		){
			foundHash = true
		}
	}
	assert foundHash
}
</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch-NetworkAddress"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch-NetworkAddress" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>

<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>NetworkAddress</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityNetworkAddress>
						<lexsdigest:NetworkAddress>
							<scr:ElectronicAddressText>127.0.0.1</scr:ElectronicAddressText>
						</lexsdigest:NetworkAddress>
					</lexsdigest:EntityNetworkAddress>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityNetworkAddress>
						<lexsdigest:NetworkAddress>
							<lexsdigest:ElectronicAddressAugmentation>
								<lexsdigest:ElectronicAddressCaptureDate><nc:Date>2009-03-16</nc:Date></lexsdigest:ElectronicAddressCaptureDate>
							</lexsdigest:ElectronicAddressAugmentation>
						</lexsdigest:NetworkAddress>
					</lexsdigest:EntityNetworkAddress>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityNetworkAddress>
						<lexsdigest:NetworkAddress>
							<lexsdigest:ElectronicAddressAugmentation>
								<lexsdigest:ElectronicAddressDescriptionText>local address</lexsdigest:ElectronicAddressDescriptionText>
							</lexsdigest:ElectronicAddressAugmentation>
						</lexsdigest:NetworkAddress>
					</lexsdigest:EntityNetworkAddress>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityNetworkAddress>
						<lexsdigest:NetworkAddress>
							<lexsdigest:ElectronicAddressAugmentation>
								<lexsdigest:ElectronicAddressMACNumber>1203abc44dd</lexsdigest:ElectronicAddressMACNumber>
							</lexsdigest:ElectronicAddressAugmentation>
						</lexsdigest:NetworkAddress>
					</lexsdigest:EntityNetworkAddress>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText><![CDATA[def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i<=srCount.toInteger(); i++){
	//find the credit card we are searching for each response must contain a person by the name Tom Jones
	def foundNetAddr = false
	def netAddrCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityNetworkAddress/lexsdigest:NetworkAddress)")
	for(int j=1; j<=netAddrCount.toInteger(); j++){
		def addr = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityNetworkAddress[" + j + "]/lexsdigest:NetworkAddress/scr:ElectronicAddressText")
		def date = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityNetworkAddress[" + j + "]/lexsdigest:NetworkAddress/lexsdigest:ElectronicAddressAugmentation/lexsdigest:ElectronicAddressCaptureDate/nc:Date")
		def desc = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityNetworkAddress[" + j + "]/lexsdigest:NetworkAddress/lexsdigest:ElectronicAddressAugmentation/lexsdigest:ElectronicAddressDescriptionText")
		def mac = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityNetworkAddress[" + j + "]/lexsdigest:NetworkAddress/lexsdigest:ElectronicAddressAugmentation/lexsdigest:ElectronicAddressMACNumber")
		
		if( 
		addr.equals("127.0.0.1") && date.equals("2009-03-16") && desc.equals("local address") && mac.equals("1203abc44dd")
		){
			foundNetAddr = true
		}
	}
	assert foundNetAddr
}
]]></scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch-InstantMessenger"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch-InstantMessenger" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>

<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>InstantMessenger</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityInstantMessenger>
						<nc:ContactInstantMessenger>
							<nc:InstantMessengerClientName>Trillian</nc:InstantMessengerClientName>
						</nc:ContactInstantMessenger>
					</lexsdigest:EntityInstantMessenger>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityInstantMessenger>
						<nc:ContactInstantMessenger>
							<nc:InstantMessengerScreenID>bobth3build3r</nc:InstantMessengerScreenID>
						</nc:ContactInstantMessenger>
					</lexsdigest:EntityInstantMessenger>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i&lt;=srCount.toInteger(); i++){
	//find the credit card we are searching for each response must contain a person by the name Tom Jones
	def foundIM = false
	def count = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityInstantMessenger/nc:ContactInstantMessenger)")
	for(int j=1; j&lt;=count.toInteger(); j++){
		def clientName = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityInstantMessenger[" + j + "]/nc:ContactInstantMessenger/nc:InstantMessengerClientName")
		def screenname = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityInstantMessenger[" + j + "]/nc:ContactInstantMessenger/nc:InstantMessengerScreenID")
		
		if( 
		clientName.equals("Trillian") &amp;&amp; screenname.equals("bobth3build3r")
		){
			foundIM = true
		}
	}
	assert foundIM
}
</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch-Document"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch-Document" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>

<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Document</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDocument>
						<nc:Document>
							<nc:DocumentCreationDate>
								<nc:Date>2009-03-17</nc:Date>
							</nc:DocumentCreationDate>
						</nc:Document>
					</lexsdigest:EntityDocument>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDocument>
						<nc:Document>
							<nc:DocumentDescriptionText>Forged bill of sale</nc:DocumentDescriptionText>
						</nc:Document>
					</lexsdigest:EntityDocument>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  3rd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDocument>
						<nc:Document>
							<nc:DocumentFileControlID>123abcdsef</nc:DocumentFileControlID>
						</nc:Document>
					</lexsdigest:EntityDocument>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  4th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDocument>
						<nc:Document>
							<nc:DocumentIdentification>
								<nc:IdentificationID>bill001</nc:IdentificationID>
							</nc:DocumentIdentification>
						</nc:Document>
					</lexsdigest:EntityDocument>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  5th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDocument>
						<nc:Document>
							<nc:DocumentKeywordText>Bill</nc:DocumentKeywordText>
						</nc:Document>
					</lexsdigest:EntityDocument>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  6th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDocument>
						<nc:Document>
							<nc:DocumentTitleText>Bill of Sale</nc:DocumentTitleText>
						</nc:Document>
					</lexsdigest:EntityDocument>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  7th search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityDocument>
						<nc:Document>
							<nc:SecurityLevelText>unclassified</nc:SecurityLevelText>
						</nc:Document>
					</lexsdigest:EntityDocument>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText><![CDATA[def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def srCount = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage)")

for( int i=1; i<=srCount.toInteger(); i++){
	//find the credit card we are searching for each response must contain a person by the name Tom Jones
	def foundDoc = false
	def count = responseHolder.getNodeValue("count(//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityDocument/nc:Document)")
	for(int j=1; j<=count.toInteger(); j++){
		def date = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityDocument[" + j + "]/nc:Document/nc:DocumentCreationDate/nc:Date")
		def desc = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityDocument[" + j + "]/nc:Document/nc:DocumentDescriptionText")
		def fileID = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityDocument[" + j + "]/nc:Document/nc:DocumentFileControlID")
		def id = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityDocument[" + j + "]/nc:Document/nc:DocumentIdentification/nc:IdentificationID")
		def keyword = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityDocument[" + j + "]/nc:Document/nc:DocumentKeywordText")
		def title = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityDocument[" + j + "]/nc:Document/nc:DocumentTitleText")
		def secLevel = responseHolder.getNodeValue("//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[" + i + "]/lexs:Digest/lexsdigest:EntityDocument[" + j + "]/nc:Document/nc:SecurityLevelText")

		if( 
		date.equals("2009-03-17") && desc.equals("Forged bill of sale") &&
		fileID.equals("123abcdsef") && id.equals("bill001") &&
		keyword.equals("Bill") && title.equals("Bill of Sale") &&
		secLevel.equals("unclassified")
		){
			foundDoc = true
		}
	}
	assert foundDoc
}
]]></scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep><con:properties/>
    </con:testCase>
    <con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="getCapabilities TestCase" searchProperties="true" id="60438136-8ea3-4629-a64e-5894fbb2fc2b" maxResults="0">
      <con:settings/>
      <con:testStep type="request" name="getCapabilities">
        <con:settings/>
        <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <con:interface>SRWebServiceSoapBinding</con:interface>
          <con:operation>getCapabilities</con:operation>
          <con:request name="getCapabilities" outgoingWss="" incomingWss="">
            <con:settings/>
            <con:encoding>UTF-8</con:encoding>
            <con:endpoint>http://localhost:51029/lexsservice.svc</con:endpoint>
            <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getCapabilitiesRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:ServiceProviderRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>11</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
	</lexs:ServiceProviderRequestMessage>
</lexssr:getCapabilitiesRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
            <con:assertion type="SOAP Response"/>
            <con:assertion type="SOAP Fault Assertion"/>
            <con:assertion type="Schema Compliance">
              <con:configuration>
                <definition/>
              </con:configuration>
            </con:assertion>
            <con:assertion type="XPath Match">
              <con:configuration>
                <path>declare namespace ns2='http://niem.gov/niem/niem-core/2.0';
declare namespace ns4='http://usdoj.gov/leisp/lexs/3.1';
declare namespace ns5='http://usdoj.gov/leisp/lexs/digest/3.1';
declare namespace ns3='http://niem.gov/niem/domains/emergencyManagement/2.0';
declare namespace ns11='http://usdoj.gov/leisp/lexs/searchretrieve/3.1';
declare namespace ns10='http://niem.gov/niem/appinfo/2.0';
declare namespace ns7='http://niem.gov/niem/domains/immigration/2.0';
declare namespace ns9='http://niem.gov/niem/domains/screening/2.0';
declare namespace ns1='http://niem.gov/niem/structures/2.0';
declare namespace soap='http://schemas.xmlsoap.org/soap/envelope';
declare namespace S='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace ns8='http://usdoj.gov/leisp/lexs/library/3.1';
declare namespace ns6='http://niem.gov/niem/domains/jxdm/4.0';
count(//ns11:getCapabilitiesResponse)</path>
                <content>1</content>
                <allowWildcards>false</allowWildcards>
              </con:configuration>
            </con:assertion>
            <con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText><![CDATA[def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def multi= responseHolder.getNodeValue("//lexssr:getCapabilitiesResponse/lexs:CapabilitiesResponseMessage/lexs:Capabilities/lexs:StructuredSearch/lexs:MultipleValueIndicator")
def wild= responseHolder.getNodeValue("//lexssr:getCapabilitiesResponse/lexs:CapabilitiesResponseMessage/lexs:Capabilities/lexs:StructuredSearch/lexs:WildcardIndicator")
def fuzzy= responseHolder.getNodeValue("//lexssr:getCapabilitiesResponse/lexs:CapabilitiesResponseMessage/lexs:Capabilities/lexs:StructuredSearch/lexs:FuzzySearchIndicator")
def date= responseHolder.getNodeValue("//lexssr:getCapabilitiesResponse/lexs:CapabilitiesResponseMessage/lexs:Capabilities/lexs:StructuredSearch/lexs:DateRangeIndicator")
def num= responseHolder.getNodeValue("//lexssr:getCapabilitiesResponse/lexs:CapabilitiesResponseMessage/lexs:Capabilities/lexs:StructuredSearch/lexs:NumericRangeIndicator")
assert multi.equals("true") && wild.equals("true") && fuzzy.equals("false") && date.equals("true") && num.equals("true") 
]]></scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials>
              <con:username xsi:nil="true"/>
              <con:password xsi:nil="true"/>
              <con:domain xsi:nil="true"/>
            </con:credentials>
          <con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request>
        </con:config>
      </con:testStep>
      <con:properties/>
    </con:testCase>
    
    <con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="getAttachment TestCase" searchProperties="true" id="4ed91176-6cfb-4445-8d99-1f170d31faf8" maxResults="0">
      <con:settings/>
      <con:testStep type="request" name="doStructuredSearch - Sample-3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Sample-3" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>

<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tommy</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials>
          <con:username xsi:nil="true"/>
          <con:password xsi:nil="true"/>
          <con:domain xsi:nil="true"/>
        </con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep>
      <con:testStep type="transfer" name="attachmentIdTransfer"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>attachmentID</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>doStructuredSearch - Sample-3</con:sourceStep><con:sourcePath>declare namespace lexssr='http://usdoj.gov/leisp/lexs/searchretrieve/3.1';
declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage/lexs:AttachmentLink[1]/lexs:AttachmentURI</con:sourcePath><con:targetType>Request</con:targetType><con:targetStep>getAttachment</con:targetStep><con:targetPath>declare namespace lexssr='http://usdoj.gov/leisp/lexs/searchretrieve/3.1';
declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
//lexssr:getAttachmentRequest/lexs:AttachmentRequestMessage/lexs:AttachmentURI</con:targetPath></con:transfers></con:config></con:testStep><con:testStep type="request" name="getAttachment">
        <con:settings/>
        <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <con:interface>SRWebServiceSoapBinding</con:interface>
          <con:operation>getAttachment</con:operation>
          <con:request name="getAttachment" outgoingWss="" incomingWss="">
            <con:settings/>
            <con:encoding>UTF-8</con:encoding>
            <con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint>
            <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getAttachmentRequest xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:AttachmentRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>7</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/helpl.gif</lexs:AttachmentURI>
	</lexs:AttachmentRequestMessage>
</lexssr:getAttachmentRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
            <con:assertion type="SOAP Fault Assertion"/>
            <con:assertion type="SOAP Response"/>
            <con:assertion type="Schema Compliance">
              <con:configuration>
                <definition/>
              </con:configuration>
            </con:assertion>
            <con:assertion type="XPath Match">
              <con:configuration>
                <path>declare namespace ns2='http://niem.gov/niem/niem-core/2.0';
declare namespace ns4='http://usdoj.gov/leisp/lexs/3.1';
declare namespace ns5='http://usdoj.gov/leisp/lexs/digest/3.1';
declare namespace ns3='http://niem.gov/niem/domains/emergencyManagement/2.0';
declare namespace ns11='http://usdoj.gov/leisp/lexs/searchretrieve/3.1';
declare namespace ns10='http://niem.gov/niem/appinfo/2.0';
declare namespace ns7='http://niem.gov/niem/domains/immigration/2.0';
declare namespace ns9='http://niem.gov/niem/domains/screening/2.0';
declare namespace ns1='http://niem.gov/niem/structures/2.0';
declare namespace soap='http://schemas.xmlsoap.org/soap/envelope';
declare namespace S='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace ns8='http://usdoj.gov/leisp/lexs/library/3.1';
declare namespace ns6='http://niem.gov/niem/domains/jxdm/4.0';
count(//ns11:getAttachmentResponse)</path>
                <content>1</content>
                <allowWildcards>false</allowWildcards>
              </con:configuration>
            </con:assertion>
            <con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def requestHolder = groovyUtils.getXmlHolder( messageExchange.requestContent )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def requestURI = requestHolder.getNodeValue("//lexssr:getAttachmentRequest/lexs:AttachmentRequestMessage/lexs:AttachmentURI")
def responseURI = responseHolder.getNodeValue("//lexssr:getAttachmentResponse/lexs:AttachmentResponseMessage/lexs:Attachment/lexs:AttachmentURI")

assert requestURI.equals(responseURI)</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials>
              <con:username xsi:nil="true"/>
              <con:password xsi:nil="true"/>
              <con:domain xsi:nil="true"/>
            </con:credentials>
          <con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request>
        </con:config>
      </con:testStep><con:testStep type="request" name="getAttachment - Multi Attachment"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>getAttachment</con:operation><con:request name="getAttachment - Multi Attachment" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:getAttachmentRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:AttachmentRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>7</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/mugshot1.jpg</lexs:AttachmentURI>
		<lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/XMLViewer.xsl</lexs:AttachmentURI>
		<lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/helpl.gif</lexs:AttachmentURI>
		<lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/warnl.gif</lexs:AttachmentURI>
	</lexs:AttachmentRequestMessage>
</lexssr:getAttachmentRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def requestHolder = groovyUtils.getXmlHolder( messageExchange.requestContent )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

//go through the list of URIs in both the request and response and verify they are the same.
for(int i=1; i&lt;=4; i++){
	def requestURI = requestHolder.getNodeValue("//lexssr:getAttachmentRequest/lexs:AttachmentRequestMessage/lexs:AttachmentURI[" + i + "]")
	def responseURI = responseHolder.getNodeValue("//lexssr:getAttachmentResponse/lexs:AttachmentResponseMessage/lexs:Attachment[" + i + "]/lexs:AttachmentURI")
	assert requestURI.equals(responseURI)
}
</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/getAttachmentRequest"/></con:request></con:config></con:testStep><con:properties/>
    </con:testCase>
    <con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="getAvailability TestCase" searchProperties="true" id="4dce8310-d353-4d58-8679-2971d7c3a282" maxResults="0">
      <con:settings/>
      <con:testStep type="request" name="getAvailability">
        <con:settings/>
        <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <con:interface>SRWebServiceSoapBinding</con:interface>
          <con:operation>getAvailability</con:operation>
          <con:request name="getAvailability" outgoingWss="" incomingWss="">
            <con:settings/>
            <con:encoding>UTF-8</con:encoding>
            <con:endpoint>http://localhost:51029/lexsservice.svc</con:endpoint>
            <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getAvailabilityRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:ServiceProviderRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>9</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
	</lexs:ServiceProviderRequestMessage>
</lexssr:getAvailabilityRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
            <con:assertion type="XPath Match">
              <con:configuration>
                <path>declare namespace ns2='http://niem.gov/niem/niem-core/2.0';
declare namespace ns4='http://usdoj.gov/leisp/lexs/3.1';
declare namespace ns5='http://usdoj.gov/leisp/lexs/digest/3.1';
declare namespace ns3='http://niem.gov/niem/domains/emergencyManagement/2.0';
declare namespace ns11='http://usdoj.gov/leisp/lexs/searchretrieve/3.1';
declare namespace ns10='http://niem.gov/niem/appinfo/2.0';
declare namespace ns7='http://niem.gov/niem/domains/immigration/2.0';
declare namespace ns9='http://niem.gov/niem/domains/screening/2.0';
declare namespace ns1='http://niem.gov/niem/structures/2.0';
declare namespace soap='http://schemas.xmlsoap.org/soap/envelope';
declare namespace S='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace ns8='http://usdoj.gov/leisp/lexs/library/3.1';
declare namespace ns6='http://niem.gov/niem/domains/jxdm/4.0';
count(//ns11:getAvailabilityResponse)</path>
                <content>1</content>
                <allowWildcards>false</allowWildcards>
              </con:configuration>
            </con:assertion>
            <con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def available= responseHolder.getNodeValue("//lexssr:getAvailabilityResponse/lexs:AvailabilityResponseMessage/lexs:ServiceAvailableIndicator")
assert available
</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials>
              <con:username xsi:nil="true"/>
              <con:password xsi:nil="true"/>
              <con:domain xsi:nil="true"/>
            </con:credentials>
          <con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request>
        </con:config>
      </con:testStep>
      <con:properties/>
    </con:testCase>
    <con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="getDataOwners TestCase" searchProperties="true" id="e82aebb8-aa96-4e71-bdf5-ae1d6817c63d" maxResults="0">
      <con:settings/>
      <con:testStep type="request" name="getDataOwners">
        <con:settings/>
        <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <con:interface>SRWebServiceSoapBinding</con:interface>
          <con:operation>getDataOwners</con:operation>
          <con:request name="getDataOwners" outgoingWss="" incomingWss="">
            <con:settings/>
            <con:encoding>UTF-8</con:encoding>
            <con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint>
            <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getDataOwnersRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:ServiceProviderRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>1</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
	</lexs:ServiceProviderRequestMessage>
</lexssr:getDataOwnersRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
            <con:assertion type="XPath Match">
              <con:configuration>
                <path>declare namespace ns2='http://niem.gov/niem/niem-core/2.0';
declare namespace ns4='http://usdoj.gov/leisp/lexs/3.1';
declare namespace ns5='http://usdoj.gov/leisp/lexs/digest/3.1';
declare namespace ns3='http://niem.gov/niem/domains/emergencyManagement/2.0';
declare namespace ns11='http://usdoj.gov/leisp/lexs/searchretrieve/3.1';
declare namespace ns10='http://niem.gov/niem/appinfo/2.0';
declare namespace ns7='http://niem.gov/niem/domains/immigration/2.0';
declare namespace ns9='http://niem.gov/niem/domains/screening/2.0';
declare namespace ns1='http://niem.gov/niem/structures/2.0';
declare namespace soap='http://schemas.xmlsoap.org/soap/envelope';
declare namespace S='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace ns8='http://usdoj.gov/leisp/lexs/library/3.1';
declare namespace ns6='http://niem.gov/niem/domains/jxdm/4.0';
count(//ns11:getDataOwnersResponse)</path>
                <content>1</content>
                <allowWildcards>false</allowWildcards>
              </con:configuration>
            </con:assertion>
            <con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def dataOwnerCount = responseHolder.getNodeValue("count(//lexssr:getDataOwnersResponse/lexs:DataOwnersResponseMessage/lexs:DataOwnerInformation)")
assert dataOwnerCount.equals("2")
</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials>
              <con:username xsi:nil="true"/>
              <con:password xsi:nil="true"/>
              <con:domain xsi:nil="true"/>
            </con:credentials>
          <con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request>
        </con:config>
      </con:testStep>
      <con:properties/>
    </con:testCase>
    <con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Multi Structured Search" searchProperties="true" id="f3c237dc-25d2-40f0-ad4c-5edc7c621389"><con:settings/><con:testStep type="request" name="doStructuredSearch - Sample-3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Sample-3" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>

<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tommy</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials>
          <con:username xsi:nil="true"/>
          <con:password xsi:nil="true"/>
          <con:domain xsi:nil="true"/>
        </con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep><con:testStep type="request" name="doStructuredSearch - Date Range"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="doStructuredSearch - Date Range" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../../../../../../../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonBirthDate>
								<nc:Date>1974-01-01</nc:Date>
							</nc:PersonBirthDate>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>ge</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonBirthDate>
								<nc:Date>1980-01-01</nc:Date>
							</nc:PersonBirthDate>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>le</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/doStructuredSearchRequest"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="DataItemID"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>DataItemId</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>doStructuredSearch - Sample-3</con:sourceStep><con:sourcePath>declare namespace lexssr='http://usdoj.gov/leisp/lexs/searchretrieve/3.1';
declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[1]/lexs:PackageMetadata/lexs:DataItemID</con:sourcePath><con:targetType>Request</con:targetType><con:targetStep>getDataItem - Sample-5</con:targetStep><con:targetPath>declare namespace lexssr='http://usdoj.gov/leisp/lexs/searchretrieve/3.1';
declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
//lexssr:getDataItemRequest/lexs:DataItemRequestMessage/lexs:DataItemID</con:targetPath></con:transfers></con:config></con:testStep><con:testStep type="request" name="getDataItem - Sample-5"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>getDataItem</con:operation><con:request name="getDataItem - Sample-5" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getDataItemRequest xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:DataItemRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>5</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:DataItemID>64773036</lexs:DataItemID>
		<lexs:StructuredPayloadsRequestedCode>all</lexs:StructuredPayloadsRequestedCode>
	</lexs:DataItemRequestMessage>
</lexssr:getDataItemRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def foundPerson = false
def personCount = responseHolder.getNodeValue("count(//lexssr:getDataItemResponse/lexs:DataItemResponseMessage/lexs:DataItemPackage/lexs:Digest/lexsdigest:EntityPerson)")
assert personCount.toInteger() == 1

for(int i=1; i&lt;=personCount.toInteger(); i++){
	def givenName = responseHolder.getNodeValue("//lexssr:getDataItemResponse/lexs:DataItemResponseMessage/lexs:DataItemPackage/lexs:Digest/lexsdigest:EntityPerson[" + i + "]/lexsdigest:Person/nc:PersonName/nc:PersonGivenName")
	def surName = responseHolder.getNodeValue("//lexssr:getDataItemResponse/lexs:DataItemResponseMessage/lexs:DataItemPackage/lexs:Digest/lexsdigest:EntityPerson[" + i + "]/lexsdigest:Person/nc:PersonName/nc:PersonSurName")
	if( givenName.equals("Tommy") &amp;&amp; surName.equals("Jones") ){
		foundPerson = true
		break
	}
}

assert foundPerson</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials>
          <con:username xsi:nil="true"/>
          <con:password xsi:nil="true"/>
          <con:domain xsi:nil="true"/>
        </con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep><con:properties/></con:testCase>
    <con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="Invalid XML TestCase" searchProperties="true" id="763f401e-d4b1-468c-97ec-c79d344a6a66" maxResults="0">
      <con:settings/>
      <con:testStep type="request" name="invalid doTextSearch">
        <con:settings/>
        <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <con:interface>SRWebServiceSoapBinding</con:interface>
          <con:operation>doTextSearch</con:operation>
          <con:request name="invalid doTextSearch" outgoingWss="" incomingWss="">
            <con:settings/>
            <con:encoding>UTF-8</con:encoding>
            <con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint>
            <con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:doTextSearchRequest>
         <ns1:TextSearchRequestMessage>
            <ns1:SRMessageMetadata ns2:id="?">
               <ns1:LEXSVersion ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns1:LEXSVersion>
               <ns1:MessageDateTime ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns1:MessageDateTime>
               <ns1:MessageSequenceNumber ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns1:MessageSequenceNumber>
               <ns1:MessageOriginMetadata ns2:id="?">
                  <ns1:SystemIdentifier ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">
                     <ns3:OrganizationName ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns3:OrganizationName>
                     <ns1:SystemID ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns1:SystemID>
                  </ns1:SystemIdentifier>
                  <ns1:SystemContact ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">
                     <ns3:PersonSurName ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns3:PersonSurName>
                  </ns1:SystemContact>
               </ns1:MessageOriginMetadata>
               <!--1 or more repetitions:-->
               <ns1:MessageDestinationIdentifier ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">
                  <ns3:OrganizationName ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns3:OrganizationName>
                  <ns1:SystemID ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns1:SystemID>
               </ns1:MessageDestinationIdentifier>
            </ns1:SRMessageMetadata>
            <ns1:UserAssertion ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">
               <ns1:UserID ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns1:UserID>
               <ns3:OrganizationName ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns3:OrganizationName>
            </ns1:UserAssertion>
            <ns1:SearchRequestMetadata ns2:id="?">
               <!--1 or more repetitions:-->
               <ns1:RequestedData ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns1:RequestedData>
               <ns1:MaxItemMatches ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns1:MaxItemMatches>
               <ns1:StructuredPayloadsRequestedAbstract>?</ns1:StructuredPayloadsRequestedAbstract>
            </ns1:SearchRequestMetadata>
            <ns1:TextQuery ns2:id="?" ns2:metadata="?" ns2:linkMetadata="?">?</ns1:TextQuery>
         </ns1:TextSearchRequestMessage>
      </ns:doTextSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request>
            <con:assertion type="SOAP Response"/>
            <con:assertion type="Not SOAP Fault Assertion"/>
            <con:credentials>
              <con:username xsi:nil="true"/>
              <con:password xsi:nil="true"/>
              <con:domain xsi:nil="true"/>
            </con:credentials>
          <con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request>
        </con:config>
      </con:testStep>
      <con:properties/>
    </con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="getDataItem TestCase" searchProperties="true" id="ad0d607d-46e1-41d9-a07b-b780cbc7832d"><con:settings/><con:testStep type="request" name="Sample-3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>doStructuredSearch</con:operation><con:request name="Sample-3" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>

<lexssr:doStructuredSearchRequest xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:scr="http://niem.gov/niem/domains/screening/2.0" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:StructuredSearchRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>3</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:SearchRequestMetadata>
			<lexs:RequestedData>Person</lexs:RequestedData>
			<lexs:MaxItemMatches>10</lexs:MaxItemMatches>
			<lexs:SortOrder>Date</lexs:SortOrder>
			<lexs:StructuredPayloadsRequestedCode>none</lexs:StructuredPayloadsRequestedCode>
		</lexs:SearchRequestMetadata>
		<lexs:StructuredQuery>
			<!--=======================  1st search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonSurName>Jones</nc:PersonSurName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
			<!--=======================  2nd search term  =======================-->
			<lexs:DigestQueryStatement>
				<lexs:DigestQueryField>
					<lexsdigest:EntityPerson>
						<lexsdigest:Person>
							<nc:PersonName>
								<nc:PersonGivenName>Tommy</nc:PersonGivenName>
							</nc:PersonName>
						</lexsdigest:Person>
					</lexsdigest:EntityPerson>
				</lexs:DigestQueryField>
				<lexs:QueryMatch>exact</lexs:QueryMatch>
			</lexs:DigestQueryStatement>
		</lexs:StructuredQuery>
	</lexs:StructuredSearchRequestMessage>
</lexssr:doStructuredSearchRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="dataItem Transfer"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>dataItem Value Transfer</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>Sample-3</con:sourceStep><con:sourcePath>declare namespace lexssr='http://usdoj.gov/leisp/lexs/searchretrieve/3.1';
declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
//lexssr:doSearchResponse/lexs:SearchResponseMessage/lexs:SearchResultPackage[1]/lexs:PackageMetadata/lexs:DataItemID</con:sourcePath><con:targetType>Request</con:targetType><con:targetStep>Sample-5 getDataItem for Sample-3</con:targetStep><con:targetPath>declare namespace lexssr='http://usdoj.gov/leisp/lexs/searchretrieve/3.1';
declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
//lexssr:getDataItemRequest/lexs:DataItemRequestMessage/lexs:DataItemID</con:targetPath></con:transfers></con:config></con:testStep><con:testStep type="request" name="Sample-5 getDataItem for Sample-3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>getDataItem</con:operation><con:request name="Sample-5 getDataItem for Sample-3" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getDataItemRequest xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<lexs:DataItemRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>5</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:DataItemID>88794405</lexs:DataItemID>
		<lexs:StructuredPayloadsRequestedCode>all</lexs:StructuredPayloadsRequestedCode>
	</lexs:DataItemRequestMessage>
</lexssr:getDataItemRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def foundPerson = false
def personCount = responseHolder.getNodeValue("count(//lexssr:getDataItemResponse/lexs:DataItemResponseMessage/lexs:DataItemPackage/lexs:Digest/lexsdigest:EntityPerson)")
assert personCount.toInteger() == 1

for(int i=1; i&lt;=personCount.toInteger(); i++){
	def givenName = responseHolder.getNodeValue("//lexssr:getDataItemResponse/lexs:DataItemResponseMessage/lexs:DataItemPackage/lexs:Digest/lexsdigest:EntityPerson[" + i + "]/lexsdigest:Person/nc:PersonName/nc:PersonGivenName")
	def surName = responseHolder.getNodeValue("//lexssr:getDataItemResponse/lexs:DataItemResponseMessage/lexs:DataItemPackage/lexs:Digest/lexsdigest:EntityPerson[" + i + "]/lexsdigest:Person/nc:PersonName/nc:PersonSurName")
	if( givenName.equals("Tommy") &amp;&amp; surName.equals("Jones") ){
		foundPerson = true
		break
	}
}

assert foundPerson</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="getInvalidDataItem TestCase" searchProperties="true" id="54e89331-a715-4539-8f1a-802cd095b8d5"><con:settings/><con:testStep type="request" name="getDataItem - Sample-5"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>getDataItem</con:operation><con:request name="getDataItem - Sample-5" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getDataItemRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1"  xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:DataItemRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>5</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:DataItemID>12345679</lexs:DataItemID>
		<lexs:StructuredPayloadsRequestedCode>all</lexs:StructuredPayloadsRequestedCode>
	</lexs:DataItemRequestMessage>
</lexssr:getDataItemRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def dataItemCount = responseHolder.getNodeValue("count(//lexssr:getDataItemResponse/lexs:DataItemResponseMessage/lexs:DataItemPackage)")
assert dataItemCount.toInteger() == 0

def error = responseHolder.getNodeValue("//lexssr:getDataItemResponse/lexs:DataItemResponseMessage/lexs:ResponseMetadata/lexs:ResultCode")
assert error.equals("Error")

def advisoryCode = responseHolder.getNodeValue("//lexssr:getDataItemResponse/lexs:DataItemResponseMessage/lexs:ResponseMetadata/lexs:Advisory/lexs:AdvisoryCategory")
assert advisoryCode.equals("InvalidDataItemRequested")</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials>
          <con:username xsi:nil="true"/>
          <con:password xsi:nil="true"/>
          <con:domain xsi:nil="true"/>
        </con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="getInvalidAttachment TestCase" searchProperties="true" id="1cdb5ac6-7890-4608-b4a4-bc3222f4bda1"><con:settings/><con:testStep type="request" name="getAttachment - Sample-7"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>getAttachment</con:operation><con:request name="getAttachment - Sample-7" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://lexsws.ittl.gtri.org:8080/lexsws/services</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
<lexssr:getAttachmentRequest xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
	<lexs:AttachmentRequestMessage>
		<lexs:SRMessageMetadata>
			<lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
			<lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
			<lexs:MessageSequenceNumber>7</lexs:MessageSequenceNumber>
			<!--====================== Message Origin ==========================-->
			<lexs:MessageOriginMetadata>
				<lexs:SystemIdentifier>
					<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
					<nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
					<lexs:SystemID>SysF</lexs:SystemID>				
				</lexs:SystemIdentifier>
				<lexs:SystemContact>
					<nc:PersonGivenName>Bob</nc:PersonGivenName>
					<nc:PersonSurName>Jones</nc:PersonSurName>
					<nc:ContactTelephoneNumber>
						<nc:FullTelephoneNumber>
							<nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
						</nc:FullTelephoneNumber>
					</nc:ContactTelephoneNumber>
				</lexs:SystemContact>
			</lexs:MessageOriginMetadata>
			<!--====================== Message Destination ==========================-->
			<lexs:MessageDestinationIdentifier>
				<!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
				<nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
				<lexs:SystemID>SysE</lexs:SystemID>
			</lexs:MessageDestinationIdentifier>
		</lexs:SRMessageMetadata>
		<lexs:UserAssertion>
			<lexs:UserID>ABC123</lexs:UserID>
			<nc:PersonGivenName>Bill</nc:PersonGivenName>
			<nc:PersonSurName>Jones</nc:PersonSurName>
			<nc:ContactTelephoneNumber>
				<nc:NANPTelephoneNumber>
					<nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
					<nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
					<nc:TelephoneLineID>3333</nc:TelephoneLineID>
				</nc:NANPTelephoneNumber>
			</nc:ContactTelephoneNumber>
			<nc:OrganizationName>ATF</nc:OrganizationName>
		</lexs:UserAssertion>
		<lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/TommyJonesMugshot1.jpg</lexs:AttachmentURI>
	</lexs:AttachmentRequestMessage>
</lexssr:getAttachmentRequest>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def attachmentCount = responseHolder.getNodeValue("count(//lexssr:getAttachmentResponse/lexs:AttachmentResponseMessage/lexs:Attachment)")
assert attachmentCount.toInteger() == 0

def error = responseHolder.getNodeValue("//lexssr:getAttachmentResponse/lexs:AttachmentResponseMessage/lexs:ResponseMetadata/lexs:ResultCode")
assert error.equals("Error")

def advisoryCode = responseHolder.getNodeValue("//lexssr:getAttachmentResponse/lexs:AttachmentResponseMessage/lexs:ResponseMetadata/lexs:Advisory/lexs:AdvisoryCategory")
assert advisoryCode.equals("InvalidAttachmentRequested")</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials>
          <con:username xsi:nil="true"/>
          <con:password xsi:nil="true"/>
          <con:domain xsi:nil="true"/>
        </con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="getDomainRequest TestCase" searchProperties="true" id="f1484dc9-3203-4c9f-9f71-5fcee4707fc3"><con:settings/><con:testStep type="request" name="getDomain"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SRWebServiceSoapBinding</con:interface><con:operation>getDomain</con:operation><con:request name="getDomain" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:51029/lexsservice.svc</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" xmlns:ns1="http://usdoj.gov/leisp/lexs/3.1" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="http://niem.gov/niem/niem-core/2.0">
   <soapenv:Header/>
   <soapenv:Body>
      <lexssr:getDomainRequest 
    xmlns:nc="http://niem.gov/niem/niem-core/2.0" 
    xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" 
    xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
    <lexs:DomainRequestMessage>
        <lexs:SRMessageMetadata>
            <lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
            <lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
            <lexs:MessageSequenceNumber>21</lexs:MessageSequenceNumber>
            <!--====================== Message Origin ==========================-->
            <lexs:MessageOriginMetadata>
                <lexs:SystemIdentifier>
                    <!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
                    <nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
                    <lexs:SystemID>SysF</lexs:SystemID>				
                </lexs:SystemIdentifier>
                <lexs:SystemContact>
                    <nc:PersonGivenName>Bob</nc:PersonGivenName>
                    <nc:PersonSurName>Jones</nc:PersonSurName>
                    <nc:ContactTelephoneNumber>
                        <nc:FullTelephoneNumber>
                            <nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
                        </nc:FullTelephoneNumber>
                    </nc:ContactTelephoneNumber>
                </lexs:SystemContact>
            </lexs:MessageOriginMetadata>
            <!--====================== Message Destination ==========================-->
            <lexs:MessageDestinationIdentifier>
                <!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
                <nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
                <lexs:SystemID>SysE</lexs:SystemID>
            </lexs:MessageDestinationIdentifier>
        </lexs:SRMessageMetadata>
        <lexs:DomainAttribute>
            <lexs:Domain>NON-COMPLIANT</lexs:Domain>
            <my:CitationQuery
                xmlns:my="http://myns.com/document" 
                xmlns:j="http://www.it.ojp.gov/jxdm/3.0">
                <![CDATA[
                {
                    declare namespace my="http://myns.com/query";
                    declare namespace j="http://www.it.ojp.gov/jxdm/3.0";           
                    for $c in doc("http://myns.com/searchengine")/my:CitationDocument
                    where $c/j:Citation/j:CitationSubject/j:PersonName/j:PersonFullName = "Bob Smith" 
                    return $c;
                }
                ]]]]>><![CDATA[
                </my:CitationQuery>
            </lexs:DomainAttribute>
        </lexs:DomainRequestMessage>
    </lexssr:getDomainRequest>

   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
count(//lexs:DomainAttribute)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )

def domain = responseHolder.getNodeValue("//lexssr:getDomainResponse/lexs:DomainResponseMessage/lexs:DomainAttribute/lexs:Domain")
assert domain.equals("NON-COMPLIANT")

</scriptText></con:configuration></con:assertion><con:assertion type="XPath Match"><con:configuration><path>declare namespace lexs='http://usdoj.gov/leisp/lexs/3.1';
.//lexs:SRMessageMetadata/lexs:LEXSVersion/text()</path><content>3.1.4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://usdoj.gov/leisp/lexs/searchretrieve/3.1/ws/LEXSSearchRetrievePortType/getDomainRequest"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:properties/>
  </con:testSuite>
  <con:properties/>
  <con:wssContainer/>
</con:soapui-project>